package com.pureland.security.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @projectName: pureland_cloud
 * @className: com.pureland.security.entity.SecurityDepartment
 * @description: 认证用户的部门封装类
 * @author: tong.li
 * @createTime: 2020/11/17 16:48
 * @version: v1.0
 * @copyright: 版权所有 李彤 © 2020
 */
@Data
@NoArgsConstructor
@Builder
@AllArgsConstructor
public class SecurityDepartment<T> implements Serializable {

    private static final long serialVersionUID = 217872373232L;

    /**
     * 部门ID
     */
    private T id;

    /**
     * 给前端显示的标签名称
     */
    private String label;
}
